package org.pentaho.di.ui.spoon.dialog;

/**
 * @ClassName: CheckResult
 * @Description: TODO
 * @author zhangbinp
 * @date Mar 20, 2012 2:47:11 PM
 */
public class PrivResult {

	private String databaseType;

	private String version;

	private boolean create_priv;

	private boolean trigger_priv;

	private boolean super_priv;
	
	public static String OLD_VERSION = "5.0-";
	
	public static String TRIGGER_SUPPORT_START_VERSION = "5.0";
	
	public static String NEW_VERSION = "5.0+";

	public boolean isCreate_priv() {
		return create_priv;
	}

	public void setCreate_priv(boolean create_priv) {
		this.create_priv = create_priv;
	}

	public boolean isTrigger_priv() {
		return trigger_priv;
	}

	public void setTrigger_priv(boolean trigger_priv) {
		this.trigger_priv = trigger_priv;
	}

	public boolean isSuper_priv() {
		return super_priv;
	}

	public void setSuper_priv(boolean super_priv) {
		this.super_priv = super_priv;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getDatabaseType() {
		return databaseType;
	}

	public void setDatabaseType(String databaseType) {
		this.databaseType = databaseType;
	}
	
}
